package com.zh.goods.dao;


import com.zh.goods.domain.GoodsRecordDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 商品进货记录
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-01-17 10:15:32
 */
@Mapper
public interface GoodsRecordDao {

	GoodsRecordDO get(Long id);
	
	List<GoodsRecordDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodsRecordDO goodsRecord);
	
	int update(GoodsRecordDO goodsRecord);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
